package com.product.system;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.product.system.mapper")
@EnableTransactionManagement
@EnableScheduling
public class SystemStart {
    public static void main(String[] args) {
        System.out.println("Hello world!");
        SpringApplication.run(SystemStart.class, args);
    }
}
